﻿<cfset login = event.getValue( 'login' ) />

<cfoutput>
					<fieldset>
	                    <legend>User Menu</legend>
	                    <ul id="sidebarNavigation">
	                    	<cfif login.havePreference( 'manage_users' )>
	                        <li <cfif event.getValue( 'event' ) eq 'list.User'>class="active"</cfif> ><a href="#event.linkTo( 'list.User' )#">Manage users</a></li>
	                        </cfif>
							<cfif login.havePreference( 'new_user' )>
							<li <cfif event.getValue( 'event' ) eq 'new.User'>class="active"</cfif> ><a href="#event.linkTo( 'new.User' )#">New user</a></li>
							</cfif>
							<cfif login.havePreference( 'manage_roles' )>
							<li <cfif event.getValue( 'event' ) eq 'list.Role'>class="active"</cfif> ><a href="#event.linkTo( 'list.Role' )#">Manage roles</a></li>
							</cfif>
							<cfif login.havePreference( 'new_role' )>
							<li <cfif event.getValue( 'event' ) eq 'new.Role'>class="active"</cfif> ><a href="#event.linkTo( 'new.Role' )#">New role</a></li>
							</cfif>
	                    </ul>
	                </fieldset>
</cfoutput>